Skip to content

Conversation

@xaliciayang
Copy link
Contributor

@xaliciayang xaliciayang commented Dec 10, 2020

Description
A previous PR from earlier this year added backup-storage-redundancy to all SQL create/update methods. This inadvertently added the functionality to SQL DW as well. However, this parameter should not be available during dw update (not supported in the backend), so this PR removes the customer's ability to update a DW's backup storage redundancy.

Additionally, this fixes an issue for az sql db update; where the update command was not updating backup storage redundancy values on existing databases.

Testing Guide

History Notes

[SQL] az sql dw update: do not accept backup-storage-redundancy argument
[SQL] az sql db update: update backup storage redundancy as requested from command


This checklist is used to make sure that common guidelines for a pull request are followed.

@xaliciayang
Copy link
Contributor Author

"FAIL - MEDIUM severity: parameter_should_not_end_in_resource_group"

Is this a new rule? The parameters in question have existed for a long time. Also they should have target RG parameters.

@yonzhan
Copy link
Collaborator

yonzhan commented Dec 11, 2020

SQL

@yonzhan yonzhan requested a review from zhoxing-ms December 11, 2020 05:43
@yonzhan yonzhan added this to the S180 milestone Dec 11, 2020
@xaliciayang
Copy link
Contributor Author

@evelyn-ys Can you help take a look at the failures?

@Juliehzl
Copy link
Contributor

"FAIL - MEDIUM severity: parameter_should_not_end_in_resource_group"

Is this a new rule? The parameters in question have existed for a long time. Also they should have target RG parameters.

medium errors is not a blocker for the CI and the root cause is that there is a high severity. The high one could be fixed when the PR is merged #16297.

@Juliehzl
Copy link
Contributor

Hi @xaliciayang, would server side return error when the parameter is used before?

@xaliciayang
Copy link
Contributor Author

Hi @xaliciayang, would server side return error when the parameter is used before?

Hi @Juliehzl yes; SQL DW currently does not support updating this value so sql dw update returned an error when customer tried.

@xaliciayang xaliciayang changed the title [SQL] Hotfix: az sql dw update: fix update to not accept backup-storage-redundancy #16184 [SQL] Hotfix: az sql dw update: fix update to not accept backup-storage-redundancy Dec 17, 2020
@yonzhan
Copy link
Collaborator

yonzhan commented Dec 19, 2020

@evelyn-ys could this PR get merged?

@evelyn-ys
Copy link
Member

@evelyn-ys could this PR get merged?

I am discussing with @xaliciayang about whether to ship a hotfix or not. If a hotfix is necessary, changes should be merged into 'release' branch. She may have to do some duplicate work to pass CI as #16306 #16297 have already done to fix CI for 'dev' branch.

@qwordy
Copy link
Member

qwordy commented Dec 21, 2020

sql has some test failures.
https://clitestresultstac.blob.core.windows.net/20201218-032122-202542/sql.report.parallel.html
Please create resource group in test to avoid this error

Resource group *** could not be found

@evelyn-ys
Copy link
Member

moved to #16326

@evelyn-ys evelyn-ys closed this Dec 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants